package com.aaa.system.service;

import com.aaa.common.pojo.Role;
import com.aaa.system.vo.RoleVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @program: education-parent
 * @description:
 * @author: 闫克起
 * @create: 2023-05-24 16:19
 **/
public interface RoleService {

    public List<Role> findAll();

    public List<Role> findByUserId(String userId);

    Integer confirm(String userId, String[] roleIds);

    Page<Role> list(Integer current, Integer pageSize, RoleVo roleVo);
}
